package com.xx.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan({"com.xx.dao"})
//@PropertySource("database.properties")
//@PropertySource("Student.properties")
//加载properties配置文件
@PropertySource({"database.properties","stundet.properties"})
@Import(databaseConfig.class)
public class SpringConfig {
}
